
<template>
  <div>
    <div style="width: 100%; display: flex; justify-content: center;">
      <span @click="flag=false" style="color:brown;">普通文件导入导出</span>
      |
      <span  @click="flag=true"  style="color: blueviolet;">大文件切片导入导出</span>
    </div>
    <OutExcel v-show="!flag"></OutExcel>
    <BigOutExcel v-show="flag"></BigOutExcel>
    
  </div>
</template>

<script setup>
import BigOutExcel from './components/BigOutExcel.vue';
import OutExcel from './components/OutExcel.vue';
import { ref } from 'vue';
let flag = ref(false);
</script>

<style scoped>
span{
  cursor: pointer;
}
</style>
